package nc.ui.arap.badacc;

import nc.vo.pub.BusinessException;

public class OnRefreshButtonHandler extends ButtonOnClickHandler {

	private DstlCaseMainPanel mainPanel;

	public OnRefreshButtonHandler(DstlCaseMainPanel mainPanel) {
		this.mainPanel = mainPanel;
	}

	@Override
	protected DstlCaseMainPanel getMainPanel() {
		return mainPanel;
	}

	@Override
	protected void handleEvent() throws BusinessException {
		mainPanel.initData();
		mainPanel.changeDstlSate(EmptyDstlCaseState.getInstance());
	}

	@Override
	protected void updateBtns() {

	}

}
